.class Lcom/estrongs/android/view/FileGridViewWrapper$p;
.super Ljava/lang/Object;
.source "FileGridViewWrapper.java"

# interfaces
.implements Lcom/estrongs/android/view/FeaturedGridViewWrapper$c;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/FileGridViewWrapper;->o0()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/FileGridViewWrapper;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/FileGridViewWrapper;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$p;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroidx/recyclerview/widget/RecyclerView;Landroid/view/View;I)V
    .locals 2

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$p;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p1, p3}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->e(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/fs/g;

    const/4 p2, 0x1

    if-eqz p1, :cond_0

    .line 2
    iget-object p3, p0, Lcom/estrongs/android/view/FileGridViewWrapper$p;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    iget-object p3, p3, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->y:Ljava/lang/String;

    invoke-static {p3}, Lcom/estrongs/android/util/h0;->I1(Ljava/lang/String;)Z

    move-result p3

    if-eqz p3, :cond_0

    .line 3
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p3

    if-eqz p3, :cond_0

    const-string v0, "@pcs/files"

    .line 4
    invoke-virtual {p3, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const p1, 0x7f1107be

    .line 5
    invoke-static {p1}, Lcom/estrongs/android/ui/view/d;->a(I)V

    .line 6
    new-instance p1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/estrongs/android/view/FileGridViewWrapper$p;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    iget-object v0, v0, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    const-class v1, Lcom/estrongs/android/ui/view/CreateOAuthNetDisk;

    invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v0, "nettype"

    const-string v1, "pcs"

    .line 7
    invoke-virtual {p1, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/view/FileGridViewWrapper$p;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    iget-object v0, v0, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-virtual {v0, p1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 9
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    invoke-virtual {p1, p3, p2}, Lcom/estrongs/android/pop/l;->c(Ljava/lang/String;Z)V

    return-void

    .line 10
    :cond_0
    instance-of p3, p1, Les/i40;

    if-eqz p3, :cond_1

    .line 11
    move-object p3, p1

    check-cast p3, Les/i40;

    invoke-virtual {p3}, Les/i40;->n()Lcom/estrongs/fs/g;

    move-result-object p3

    goto :goto_0

    :cond_1
    move-object p3, p1

    .line 12
    :goto_0
    instance-of v0, p1, Les/f40;

    if-eqz v0, :cond_2

    .line 13
    new-instance p1, Lcom/estrongs/android/ui/dialog/n;

    iget-object p2, p0, Lcom/estrongs/android/view/FileGridViewWrapper$p;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    iget-object p2, p2, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-direct {p1, p2}, Lcom/estrongs/android/ui/dialog/n;-><init>(Landroid/content/Context;)V

    .line 14
    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/n;->b()V

    .line 15
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string p2, "ndack"

    invoke-virtual {p1, p2}, Lcom/estrongs/android/statistics/b;->d(Ljava/lang/String;)V

    return-void

    :cond_2
    if-eqz p1, :cond_3

    .line 16
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->n2(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 17
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Les/r40;->i(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    return-void

    :cond_3
    if-eqz p3, :cond_6

    .line 18
    invoke-interface {p3}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/fs/l;->b()Z

    move-result v0

    if-eqz v0, :cond_6

    .line 19
    invoke-interface {p3}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->H1(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_4

    instance-of p1, p3, Les/h40;

    if-eqz p1, :cond_4

    instance-of p1, p3, Les/f40;

    if-nez p1, :cond_4

    .line 20
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v0, "ndhck"

    invoke-virtual {p1, v0}, Lcom/estrongs/android/statistics/b;->d(Ljava/lang/String;)V

    .line 21
    :cond_4
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$p;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-static {p1, p2}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/android/view/FileGridViewWrapper;Z)Z

    .line 22
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$p;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-virtual {p1, p3}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/fs/g;)V

    .line 23
    invoke-interface {p3}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p1

    .line 24
    instance-of p3, p3, Les/d20;

    if-nez p3, :cond_5

    .line 25
    invoke-static {}, Lcom/estrongs/android/util/q0;->i()Lcom/estrongs/android/util/q0;

    move-result-object p3

    invoke-virtual {p3, p1, p2}, Lcom/estrongs/android/util/q0;->a(Ljava/lang/String;Z)V

    .line 26
    :cond_5
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U(Ljava/lang/String;)I

    move-result p3

    if-ne p3, p2, :cond_7

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p3

    if-nez p3, :cond_7

    .line 27
    invoke-static {}, Les/p00;->c()Les/p00;

    move-result-object p3

    const-string v0, "open"

    invoke-virtual {p3, p1, v0, p2}, Les/p00;->b(Ljava/lang/String;Ljava/lang/String;Z)V

    goto :goto_1

    :cond_6
    if-eqz p1, :cond_7

    .line 28
    iget-object p2, p0, Lcom/estrongs/android/view/FileGridViewWrapper$p;->a:Lcom/estrongs/android/view/FileGridViewWrapper;

    iget-object p2, p2, Lcom/estrongs/android/view/FileGridViewWrapper;->E:Lcom/estrongs/android/view/FileGridViewWrapper$b0;

    if-eqz p2, :cond_7

    .line 29
    invoke-interface {p2, p1}, Lcom/estrongs/android/view/FileGridViewWrapper$b0;->a(Lcom/estrongs/fs/g;)V

    :cond_7
    :goto_1
    return-void
.end method
